package org.blackjuly.sign.service;

import org.blackjuly.sign.data.DataBean;
import org.blackjuly.sign.entity.Period;

public class PeriodService extends BaseService {
	/**
	 * 根据id查找期中成绩
	 */
	public Period findGradeById(Long id) throws Exception {
		DataBean dataBean = new DataBean(this.conn, "qizhong", "id");
		dataBean.setEntityClass(Period.class);
		return (Period) dataBean.doSelect(id);
	}
}